package mark.tom.sail;

import androidx.annotation.NonNull;

import java.io.File;
import java.util.List;

public interface FileStorage {

    File getCacheDir();

    List<String> getLogFileNamesInCacheDir();

    boolean saveLogContent(@NonNull String fileName, @NonNull String data);

    boolean saveLogContent(@NonNull String fileName, @NonNull List<String> data);

    List<String> getLogContent(@NonNull String fileName);

    boolean deleteLogFile(@NonNull String fileName);
}
